package com.chinasofti.service;


import com.chinasofti.annotation.RedisCache;
import com.chinasofti.annotation.RedisEvict;
import com.chinasofti.model.Userinfo;
import com.chinasofti.serivce.impl.UserinfoServiceImpl;
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundFault;

import java.util.List;

public interface UserinfoService {
     public void add(Userinfo userinfo) ;
     public void edit(Userinfo userinfo) ;
     public void deleteById(int id) ;

     @RedisCache(type=UserinfoServiceImpl.class)
     public List<Userinfo> findAll() ;
}
